#ifndef INFODIALOG_H
#define INFODIALOG_H

#include "database.hpp"
#include "ui_infodialog.h"
#include <QDialog>

namespace Ui {
class InfoDialog;
}

class InfoDialog : public QDialog
{
    Q_OBJECT

public:
    QWidget *widget3;
    explicit InfoDialog(QWidget *parent = nullptr);
    ~InfoDialog();
    void setWidgetTile(QString txt)
    {
        ui->label_WidgetTitle->setText(txt);
    }

private slots:
    void on_checkBox_del_stateChanged(int arg1);

    void on_dateEdit_stop_userDateChanged(const QDate &date);

    void on_dateEdit_start_userDateChanged(const QDate &date);

public:
    Ui::InfoDialog *ui;
    QStringList getTitles();
    void initWindow(const data_t &data);
};

#endif // INFODIALOG_H
